package com.itheima.homework.Calendar;

import java.util.Calendar;

public class Demo2 {
    public static void main(String[] args) {
        Calendar c=Calendar.getInstance();
        c.set(1949,9,1);
        int i = c.get(Calendar.DAY_OF_WEEK);
        System.out.println(i-1);
    }
}
